package _12_LianXi;

import java.io.BufferedReader;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.TreeSet;

public class De_weight {

	public static void main(String[] args) {
		TreeSet<Integer> ts = new TreeSet<Integer>();
		try (FileInputStream fis = new FileInputStream(("./src/_12_Lianxi/input.txt"));
				InputStreamReader isr = new InputStreamReader(fis);
				BufferedReader bis = new BufferedReader(isr);) {

			// 读取数据
			int n = 0;
			String line = null;
			while ((line = bis.readLine()) != null) {
				n = Integer.parseInt(line.trim());
				// 存放数据
				ts.add(n);
			}

		} catch (IOException e) {
			e.printStackTrace();
		}
		// 遍历打印
		for (Object object : ts) {
			System.out.println(object);
		}

	}
}
